package com.gigi.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 修改用户信息请求实体
 *
 * @author gigi
 */
@Data
public class UserDTO {

    @NotNull(message = "主键id不能为空")
    @ApiModelProperty(value = "主键id", required = true)
    private Long id;

    @ApiModelProperty(value = "标签列表（JSON字符串）")
    private String tags;

    @ApiModelProperty(value = "昵称")
    private String userName;

    @ApiModelProperty(value = "账号")
    private String userAccount;

    @ApiModelProperty(value = "头像")
    private String avatarUrl;

    @ApiModelProperty(value = "简介")
    private String intro;

    @ApiModelProperty(value = "性别（0男 1女 2其他）")
    private Integer gender;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "微信号")
    private String wxAccount;

    @ApiModelProperty(value = "qq号")
    private String qqAccount;

}
